package cn.uin.infrastructure.dao;

import cn.uin.domain.family.model.entity.HomeFamilyEntity;
import cn.uin.infrastructure.dao.po.HomeFamily;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName HomeFamilyDao
 * @Description:类描述
 * @Author: Administrator
 * @CreateDate: 2025/11/11 11:44
 * @Version: 1.0
 */
@Mapper
public interface HomeFamilyDao {

	/**
	 * 根据id获取家庭信息
	 * @param id
	 * @return
	 */
	HomeFamily queryById(Long id);

	/**
	 * 增加家庭成员数量
	 * @param id
	 */
	void updateFamilyNum(Long id);

	/**
	 * 添加家庭
	 * @param homeFamily
	 * @return
	 */
	HomeFamily insert(HomeFamily homeFamily);

}
